problem in using xpath Jack C280309-Nov-2010 problem in using xpath to access child node how use it?xmlxml Updated on 26-Nov-2010
Amit Singh
26-Nov-2010one is
XmlDocument doc = new XmlDocument();
doc.Load(Server.MapPath("doc.xml"));
XmlNode target = doc.SelectSingleNode("/root/itemsA/item[@id='1']");
string result = target.InnerText;